package com.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class main {
    @RequestMapping("/index")
    @ResponseBody
    public String index(){
        String s ="aaa";
        return "hello world";
    }
}
